package com.cn.yang.util;

public class PageUtil {
    private Integer pageNumber = null;
    private Integer pageSize = null;

    public Integer getPageNumber() {
        return (pageNumber-1)*pageSize;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

}
